

<script type="text/javascript">
	jQuery(document).ready(function(){
		var field6042 = "field6042";			//项目名称
		var field6043 = "field6043";			//品项编码
		var field6044 = "field6044";			//设计要求
		var field6045 = "field6045";			//规格
		var field6046 = "field6046";			//材质要求
		var field6047 = "field6047";			//数量
		var field6048 = "field6048";			//单位
		var field6049 = "field6049";			//AE报价
		var field6050 = "field6050";			//包装要求
		var field6051 = "field6051";			//交货时间
		
		var array = jQuery("#submitdtlid0").val();
		var arrays = array.split(",");
		for(var i=0; i<arrays.length; i++){
			var xmmc = jQuery("#"+field6042+"_"+arrays[i]).val();
			var pxbm = jQuery("#"+field6043+"_"+arrays[i]).val();
			var sjyq = jQuery("#"+field6044+"_"+arrays[i]).val();
			var gg = jQuery("#"+field6045+"_"+arrays[i]).val();
			var czyq = jQuery("#"+field6046+"_"+arrays[i]).val();
			var sl = jQuery("#"+field6047+"_"+arrays[i]).val();
			var dw = jQuery("#"+field6048+"_"+arrays[i]).val();
			var AEbj = jQuery("#"+field6049+"_"+arrays[i]).val();
			var bzyq = jQuery("#"+field6050+"_"+arrays[i]).val();
			var jhsj = jQuery("#"+field6051+"_"+arrays[i]).val();
			console.log("项目名称："+xmmc+"--品项编码:"+encodeURI(pxbm)+"--设计要求:"+encodeURI(sjyq)+"--规格："+encodeURI(gg)+"--材质要求："+encodeURI(czyq)+"--数量："+encodeURI(sl)+"--单位："+encodeURI(dw)+"--AE报价"+encodeURI(AEbj)+"--包装要求:"+encodeURI(bzyq)+"--交货时间："+encodeURI(jhsj));
			var str = "&xmmc="+encodeURIComponent(xmmc)+"&pxbm="+pxbm+"&sjyq="+encodeURIComponent(sjyq)+"&gg="+encodeURIComponent(gg)+"&czyq="+encodeURIComponent(czyq)+"&sl="+encodeURIComponent(sl)+"&dw="+encodeURIComponent(dw)+"&AEbj="+encodeURIComponent(AEbj)+"&bzyq="+encodeURIComponent(bzyq)+"&jhsj="+encodeURIComponent(jhsj);
			var url = "/workflow/request/AddRequest.jsp?workflowid=53";
			jQuery("#"+field6051+"_"+arrays[i]).parent().next().html("<a href="+url+str+" target='_blank'>申请制作单</a>");
		}
});
</script>



<!-- script代码，如果需要引用js文件，请使用与HTML中相同的方式。 -->
<!-- 请不要随便动这段代码 -->
<script type="text/javascript">
	jQuery(document).ready(function(){
		var field6032 = "field6032";			//工单编号
		var field6042 = "field6042";			//项目名称
		var field6077 = "field6077";			//品项编码
		var field6044 = "field6044";			//设计要求
		var field6045 = "field6045";			//规格
		var field6046 = "field6046";			//材质要求
		var field6047 = "field6047";			//数量
		var field6048 = "field6048";			//单位
		var field6049 = "field6049";			//AE报价
		var field6050 = "field6050";			//包装要求
		var field6051 = "field6051";			//交货时间
		
		var array = jQuery("#submitdtlid0").val();
		var arrays = array.split(",");
		for(var i=0; i<arrays.length; i++){
			var gdbh = jQuery("#"+field6032).val();
			var xmmc = jQuery("#"+field6042+"_"+arrays[i]).val();
			var pxbm = jQuery("#"+field6077+"_"+arrays[i]).val();
			var sjyq = jQuery("#"+field6044+"_"+arrays[i]).val();
			var gg = jQuery("#"+field6045+"_"+arrays[i]).val();
			var czyq = jQuery("#"+field6046+"_"+arrays[i]).val();
			var sl = jQuery("#"+field6047+"_"+arrays[i]).val();
			var dw = jQuery("#"+field6048+"_"+arrays[i]).val();
			var AEbj = jQuery("#"+field6049+"_"+arrays[i]).val();
			var bzyq = jQuery("#"+field6050+"_"+arrays[i]).val();
			var jhsj = jQuery("#"+field6051+"_"+arrays[i]).val();
			var str = "&xmmc="+encodeURIComponent(xmmc)+"&pxbm="+pxbm+"&sjyq="+encodeURIComponent(sjyq)+"&gg="+encodeURIComponent(gg)+"&czyq="+encodeURIComponent(czyq)+"&sl="+encodeURIComponent(sl)+"&dw="+encodeURIComponent(dw)+"&AEbj="+encodeURIComponent(AEbj)+"&bzyq="+encodeURIComponent(bzyq)+"&jhsj="+encodeURIComponent(jhsj)+"&gdbh="+encodeURIComponent(gdbh);
			var url = "/workflow/request/AddRequest.jsp?workflowid=53";
			jQuery("#"+field6051+"_"+arrays[i]).parent().next().html("<a href="+url+str+" target='_blank'>申请制作单</a>");
		}
});
</script>


<!-- script代码，如果需要引用js文件，请使用与HTML中相同的方式。 -->
<!-- 请不要随便动这段代码 -->
<script type="text/javascript">
//2016-12-19修改版之前
	jQuery(document).ready(function(){
		var field6042 = "field6042";			//项目名称
		var field6077 = "field6077";			//品项编码
		var field6044 = "field6044";			//设计要求
		var field6045 = "field6045";			//规格
		var field6046 = "field6046";			//材质要求
		var field6047 = "field6047";			//数量
		var field6048 = "field6048";			//单位
		var field6049 = "field6049";			//AE报价
		var field6050 = "field6050";			//包装要求
		var field6051 = "field6051";			//交货时间
		
		var array = jQuery("#submitdtlid0").val();
		var arrays = array.split(",");
		for(var i=0; i<arrays.length; i++){
			var xmmc = jQuery("#"+field6042+"_"+arrays[i]).val();
			var pxbm = jQuery("#"+field6077+"_"+arrays[i]).val();
			var sjyq = jQuery("#"+field6044+"_"+arrays[i]).val();
			var gg = jQuery("#"+field6045+"_"+arrays[i]).val();
			var czyq = jQuery("#"+field6046+"_"+arrays[i]).val();
			var sl = jQuery("#"+field6047+"_"+arrays[i]).val();
			var dw = jQuery("#"+field6048+"_"+arrays[i]).val();
			var AEbj = jQuery("#"+field6049+"_"+arrays[i]).val();
			var bzyq = jQuery("#"+field6050+"_"+arrays[i]).val();
			var jhsj = jQuery("#"+field6051+"_"+arrays[i]).val();
			var str = "&xmmc="+encodeURIComponent(xmmc)+"&pxbm="+pxbm+"&sjyq="+encodeURIComponent(sjyq)+"&gg="+encodeURIComponent(gg)+"&czyq="+encodeURIComponent(czyq)+"&sl="+encodeURIComponent(sl)+"&dw="+encodeURIComponent(dw)+"&AEbj="+encodeURIComponent(AEbj)+"&bzyq="+encodeURIComponent(bzyq)+"&jhsj="+encodeURIComponent(jhsj);
			var url = "/workflow/request/AddRequest.jsp?workflowid=53";
			jQuery("#"+field6051+"_"+arrays[i]).parent().next().html("<a href="+url+str+" target='_blank'>申请制作单</a>");
		}
});
</script>




